<?php
return new \Phalcon\Config(array(
	    'database' => array(
	        'adapter'  => 'Mysql',
	        'host'     => '127.0.0.1',
	        'username' => 'root',
	        'password' => 'mysql',
	        'dbname'   => 'bwyt',
	        'charset'  => 'utf8',
	        'prefix'   => 'bwyt_',
	    ),    
		'application' => array(
	        'pluginsDir'     => APP_ROOT . 'plugins/',
	        'libraryDir'     => APP_ROOT . 'libraries/',
	        'cacheDir'       => APP_ROOT . 'cache/',
	        'enumsDir'		 => APP_ROOT . 'enums/',
	        'logs' 			 => APP_ROOT . 'logs/',
	        'listenersDir'	 => APP_ROOT . 'listeners/',
	        'baseUri'        => '/',
	    ),
		'session' => array( 'host' => '127.0.0.1', 'port' => '6379', 'db' => 15 ),//redis
		'cache' => array(
		        'cacheAdapter' => 'redisCache',
		        'apc' => array(
	                'frontend' => array( 'lifetime' => 172800 ),
	                'backend'  => array( 'prefix'   => 'fzq_' )
		        ),
		        'inmem'        => array( 'frontend' => array( 'lifetime' => 1800 ) ),
		        'redisCache'   => array( 
	                'frontend' => array( 'lifetime' => 14400 ),
	                'backend'  => array(
	                    'host'       => '127.0.0.1',
	                    'port'       => 6379,
	                    //'auth'     => 'foobared',
	                    'persistent' => false,
	                    'prefix'     => 'fzq_'
	                )
	            ),
				'nredis' =>array(
	                	'host' => '127.0.0.1',
						'port' => 6379,
// 						'auth'	=> '',
						'longConnection' => false,
						'prefix' => 'fzq_',
						'db'	=> 0
				),
		        'htmlCache'    => array( 
	                'frontend' => array( 'lifetime' => 14400 ),
	                'backend'  => array( 'cacheDir' => APP_ROOT . 'cache/html/' )
		        )
	    ),
// 	    'beanstalk' => array(  'host'  => '127.0.0.1',  'port'  => 11300 ),
    
    )
);
